-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Do not show notify on return #101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Tested with both "notify" and "inline" Tutor style, and it's working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
🎉 This PR is included in version 4.5.8 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is still an issue for feedback items that show in modals. I'm no coder... I'm just trying to find a solution to the problem. Currently, I have a bunch of MCQ's with feedback (showing in modals). After answering each question, on return to the page, all of the modal feedback windows are still showing. |
I have version 4.5.8 |
I need to know how tutor is configured on your course.json and/or on your questions. This code says that the feedback will show, only when _canShowFeedback is true, _isSubmitted is true and the tutor type is set to inline: adapt-contrib-tutor/js/adapt-contrib-tutor.js Lines 31 to 32 in ffc89fc
Which obviously doesn't fit the course you've described, as you're using notify not inline, so they shouldn't be forced to show. Either, there is a different bug, or you've not compiled the course correctly, or you've not updated the code correctly. |
Thanks... yeah I noticed "INLINE" in the code... but this is not possible for the course I'm doing... What do you need from me exactly? I can show you the issue I see (with modals), but what specifically would you like from me? And thank you for your swift reply... that's very helpful. |
Can you export the course and send over the zip? I want to check the version numbers and code. It sounds very much like you don't have the code for the current plugin version. Have you force rebuilt? |
I'm not sure I'd be allowed to do that... as it's in build. I've not tried the force rebuild though. I can try that. Are there any files in the published zip I could share? |
This is a standard vanilla course.
The two files I referenced above are the only important ones: course.json |
We updated the framework to the latest version last week (or the week before) and I updated the plugin on Monday. I'll just check the force rebuild. |
Hi Oliver, the force rebuild seems to have done the trick for me. You're a genius! I'm just checking with other members of the team (they're working on other client courses with the same issue) to see if it has sorted them out too. But it looks good so far. Thank you for your swift reply and help. |
Awesome. Glad you fixed it! |
Thanks to you! 🙂
…________________________________
From: Oliver Foster ***@***.***>
Sent: 14 June 2023 10:59
To: adaptlearning/adapt-contrib-tutor ***@***.***>
Cc: Dougieladd ***@***.***>; Mention ***@***.***>
Subject: Re: [adaptlearning/adapt-contrib-tutor] Fix: Do not show notify on return (PR #101)
Awesome. Glad you fixed it!
—
Reply to this email directly, view it on GitHub<#101 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA5NSI2AZZDFFENLN2QBPQLXLGDOVANCNFSM6AAAAAAYXJFZG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
fixes #100
fixes #94
Fix